package bis;

import java.io.Serializable;
import obj.CommonVar;

public class FLManager extends FLBase implements Serializable {

    String bm, mc, mm, qx;

    public FLManager(String bm, String mc, String mm, String qx) {
        this.bm = bm;
        this.mc = mc;
        this.mm = mm;
        this.qx = qx;
    }

    public FLManager() {
    }

    public String getBm() {
        return bm;
    }

    public void setBm(String bm) {
        this.bm = bm;
    }

    public String getMc() {
        return mc;
    }

    public void setMc(String mc) {
        this.mc = mc;
    }

    public String getMm() {
        return mm;
    }

    public void setMm(String mm) {
        this.mm = mm;
    }

    public String getQx() {
        return qx;
    }

    public void setQx(String qx) {
        this.qx = qx;
    }

    public void setUpdate(FLManager aflm) {
        CommonVar.flmanagermgr.setUpdate(aflm);
    }

    public void setDelete(String bm) {
        CommonVar.flmanagermgr.setdelete(bm);

    }

    public boolean isInsert() {
        return CommonVar.flmanagermgr.isInsert( mc, mm, qx);
    }

    public static void main(String[] args) {
        FLManager c = new FLManager("1000", "anmeng", "流氓2", "b");
        FLManager c2 = new FLManager("1000", "anmeng", "流氓2", "b");
        c.setUpdate(c2);
    }
}
